export interface HealthInfo {
  oldillness: string;
  nowillness: string;
  otherillness: string;
  otherCase: string;
}

export interface SelfCareItem {
  name: string;
  val: string;
}

export interface CheckupItem {
  name: string;
  picture: string;
}

export interface FamilyMember {
  id: number;
  name: string;
  mobile: string;
  idCard: string;
  relation: string;
  gender: number;
  address: string;
}

export interface Elderly {
  id: number;
  name: string;
  mobile: string;
  photo: string;
  gender: number;
  birthday: string;
  nativePlace: string;
  nation: string;
  idCard: string;
  politics: string;
  socialCard: string;
  marriage: string;
  eduLevel: string;
  education: string;
  resident: string;
  address: string;
  health: HealthInfo;
  selfCares: SelfCareItem[];
  checkups: CheckupItem[];
  family: FamilyMember[];
}

//疾病
export interface Disease {
  id: number,
  name:string
}

export interface ElderlyParams {
  adminName: string,
  name: string,
  page:number,
  pageSize:number
}

export interface ResponseElderly {
  counts: number;
  pageSize: number;
  list: Elderly[];
}


export interface ElderlyRecord {
  elderlyId:number,
  name:string,
  fileName:string
}


export interface Schedule{
  id: number,
  elderlyId: number,
  day:string,
  week:string,
  staffId: number,
  staffName:string,
  staffPhoto: string
}
 
export interface ScheduleList{

  list:Schedule[]
}
export interface Task{
  id: number,
  companyId: number,
  elderlyId: number,
  startTime: string,
  endTime: string,
  week: string,
  day:string,
  serviceId: number,
  type:string,
  serviceName: string,
  staffId: number,
  state: number
}
export interface TimeTask{

  time:number,
  task:Task[]
}
export interface TaskList{

  list:Task[]
}